<header>
<div class="widthMain">
<div class="logo fl"><a href="/index/index/../../Index/index">
<img src="http://img1.hx.com/newimages/index_r1_c2.png"></a>
</div>
<nav class="fl"><ul><li><a href="/index/index/../../Index/index">首页</a></li>
<li><a href="/index/index/../../Index/listpage/mtype/rec">精品杂志</a></li>
<li><a href="{site_url url='home/magazine/index'}">创建杂志</a></li>
<!-- <li><a href="/index/index/../../Businesscard/index">创建名片</a></li> --><!--li>
<a href="http://www.5.cn/promotion" target="_blank">推广中心</a></li--></ul>
</nav>


{if $uid}
<a class="bak" href="{site_url url='home/user/logout'}">退出</a>
<div id="black" class="login black fr">
<span class="user_name">{$username}</span><span>|</span>
<div id="sub_menu" style="display: none;">
<ul><li><a href="/usrindex/index.html">我的杂志</a></li>
<!-- <li><a href="/Businesscard/share.html">我的名片</a></li> -->
<li><a href="/usrindex/bank.html">我的草稿</a></li>
<li><a href="/usrindex/favlist.html">我的收藏</a></li>
<li><a href="/Promotion/spread/index/type/1.html">杂志推广</a>
</li><li><a href="/Promotion/spread/index/type/2.html">杂志免广告</a></li>
<li><a href="/index/notice.html">通知中心</a></li></ul>
<a id="txt">xxxxxxxxxxxx</a>
</div>
</div>

{else}
<div class="login fr">
<a class="fl" href="/index/index/../../index/notice">
<div class="mar_top notify fl"></div></a>
<a target="_self" href="{site_url url='home/user/login?id=123&cid=456'}">登录</a>
</div>
{/if}

</header>
<script src="/static/common/js/jquery.js"></script>

<script src="/static/common/js/header.js"></script>
<script type="text/javascript">

/*
 *
 oB=document.getElementById('black');
 var oSub=document.getElementById('sub_menu');
 oB.onmouseover=function(){
	 oSub.style.display="block";
};
oB.onmouseout=function(){
    oSub.style.display="none";
};
 */
   

</script>